[INFO] cloning repository https://github.com/kaczor6418/neural-network
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaczor6418/neural-network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaczor6418%2Fneural-network", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaczor6418%2Fneural-network'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 56c9f261a6ab219178a5a364f95dbe69f20c47de
[INFO] building kaczor6418/neural-network against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaczor6418%2Fneural-network" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kaczor6418/neural-network on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kaczor6418/neural-network
[INFO] finished tweaking git repo https://github.com/kaczor6418/neural-network
[INFO] tweaked toml for git repo https://github.com/kaczor6418/neural-network written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/kaczor6418/neural-network already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75bd2300c4ce8537c9bcb72a21d6b6437cd7ccc9bc2aad9339f4d182d8010774
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "75bd2300c4ce8537c9bcb72a21d6b6437cd7ccc9bc2aad9339f4d182d8010774", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75bd2300c4ce8537c9bcb72a21d6b6437cd7ccc9bc2aad9339f4d182d8010774", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75bd2300c4ce8537c9bcb72a21d6b6437cd7ccc9bc2aad9339f4d182d8010774", kill_on_drop: false }`
[INFO] [stdout] 75bd2300c4ce8537c9bcb72a21d6b6437cd7ccc9bc2aad9339f4d182d8010774
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7caff831f2b0a136d3e1247a29ab35dc393a58731c2336c451f0146706f33486
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "7caff831f2b0a136d3e1247a29ab35dc393a58731c2336c451f0146706f33486", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling neural-network v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `matrix` in the crate root
[INFO] [stdout]  --> src/neural_network/neuron.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::matrix::matrix::Matrix;
[INFO] [stdout]   |            ^^^^^^ could not find `matrix` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `matrix` in the crate root
[INFO] [stdout]  --> src/neural_network/layer.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::matrix::matrix::Matrix;
[INFO] [stdout]   |            ^^^^^^ could not find `matrix` in the crate root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `serde`
[INFO] [stdout]  --> src/neural_network/network.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::private::ser::constrain;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `serde`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]   --> src/neural_network/neuron.rs:11:22
[INFO] [stdout]    |
[INFO] [stdout] 11 |             weights: Matrix::new(
[INFO] [stdout]    |                      ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]   --> src/neural_network/layer.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 |             values: Matrix::new_zeros_matrix(1, config.neurons_count),
[INFO] [stdout]    |                     ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]   --> src/neural_network/layer.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |         return Matrix::new(
[INFO] [stdout]    |                ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Matrix`
[INFO] [stdout]    --> src/neural_network/layer.rs:119:16
[INFO] [stdout]     |
[INFO] [stdout] 119 |         return Matrix::new(self.neurons[0].get_weights().get_values().len(), values);
[INFO] [stdout]     |                ^^^^^^ use of undeclared type `Matrix`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]  --> src/neural_network/neuron.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 |     weights: Matrix,
[INFO] [stdout]   |              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/neuron.rs:25:51
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn calculate_output_value(&self, inputs: &Matrix) -> f64 {
[INFO] [stdout]    |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/neuron.rs:29:35
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn get_weights(&self) -> &Matrix {
[INFO] [stdout]    |                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |     values: Matrix,
[INFO] [stdout]    |             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:30:49
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn calculate_values(&mut self, inputs: &Matrix) {
[INFO] [stdout]    |                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:42:29
[INFO] [stdout]    |
[INFO] [stdout] 42 |         prev_layer_values: &Matrix,
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:43:28
[INFO] [stdout]    |
[INFO] [stdout] 43 |         next_layer_delta: &Matrix,
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:44:30
[INFO] [stdout]    |
[INFO] [stdout] 44 |         next_layer_weights: &Matrix,
[INFO] [stdout]    |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn get_values(&self) -> &Matrix {
[INFO] [stdout]    |                                  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:81:46
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn calculate_derivative_values(&self) -> Matrix {
[INFO] [stdout]    |                                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:94:28
[INFO] [stdout]    |
[INFO] [stdout] 94 |         next_layer_delta: &Matrix,
[INFO] [stdout]    |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 |         next_layer_weights: &Matrix,
[INFO] [stdout]    |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]   --> src/neural_network/layer.rs:96:10
[INFO] [stdout]    |
[INFO] [stdout] 96 |     ) -> Matrix {
[INFO] [stdout]    |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]    --> src/neural_network/layer.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |         prev_layer_values: &Matrix,
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]    --> src/neural_network/layer.rs:105:28
[INFO] [stdout]     |
[INFO] [stdout] 105 |         next_layer_delta: &Matrix,
[INFO] [stdout]     |                            ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]    --> src/neural_network/layer.rs:106:30
[INFO] [stdout]     |
[INFO] [stdout] 106 |         next_layer_weights: &Matrix,
[INFO] [stdout]     |                              ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]    --> src/neural_network/layer.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 |     ) -> Matrix {
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Matrix` in this scope
[INFO] [stdout]    --> src/neural_network/layer.rs:114:38
[INFO] [stdout]     |
[INFO] [stdout] 114 |     fn get_neurons_weights(&self) -> Matrix {
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_mutable_weights` found for struct `Neuron` in the current scope
[INFO] [stdout]   --> src/neural_network/layer.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 51 |                 .get_mutable_weights()
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^ method not found in `Neuron`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/neural_network/neuron.rs:4:1
[INFO] [stdout]    |
[INFO] [stdout] 4  | pub struct Neuron {
[INFO] [stdout]    | ----------------- method `get_mutable_weights` not found for this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `calculate_layer_delta` is private
[INFO] [stdout]   --> src/neural_network/network.rs:54:37
[INFO] [stdout]    |
[INFO] [stdout] 54 |             expected_output = layer.calculate_layer_delta(&expected_output);
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^^^^^^^ private associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `calculate_output` found for mutable reference `&mut Layer` in the current scope
[INFO] [stdout]   --> src/neural_network/network.rs:61:19
[INFO] [stdout]    |
[INFO] [stdout] 61 |             layer.calculate_output(&inputs);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ method not found in `&mut Layer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_output` found for mutable reference `&mut Layer` in the current scope
[INFO] [stdout]   --> src/neural_network/network.rs:62:28
[INFO] [stdout]    |
[INFO] [stdout] 62 |             inputs = layer.get_output().clone();
[INFO] [stdout]    |                            ^^^^^^^^^^ method not found in `&mut Layer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/neural_network/network.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |             &layer_cfg.activation_callback,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `layer_config::LayerConfig`, found reference
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `layer_config::LayerConfig`
[INFO] [stdout]            found reference `&Option<fn(f64) -> f64>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/neural_network/network.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |             &layer_cfg.activation_function_derivative,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found reference
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected type `usize`
[INFO] [stdout]            found reference `&Option<for<'r> fn(&'r f64) -> f64>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: associated function `add_neurons` is private
[INFO] [stdout]   --> src/neural_network/network.rs:75:15
[INFO] [stdout]    |
[INFO] [stdout] 75 |         layer.add_neurons(
[INFO] [stdout]    |               ^^^^^^^^^^^ private associated function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `get_output` found for struct `Layer` in the current scope
[INFO] [stdout]   --> src/neural_network/network.rs:99:34
[INFO] [stdout]    |
[INFO] [stdout] 99 |         return self.output_layer.get_output().clone();
[INFO] [stdout]    |                                  ^^^^^^^^^^ method not found in `Layer`
[INFO] [stdout]    | 
[INFO] [stdout]   ::: src/neural_network/layer.rs:7:1
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub struct Layer {
[INFO] [stdout]    | ---------------- method `get_output` not found for this
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 33 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433, E0599, E0624.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `neural-network`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "7caff831f2b0a136d3e1247a29ab35dc393a58731c2336c451f0146706f33486", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7caff831f2b0a136d3e1247a29ab35dc393a58731c2336c451f0146706f33486", kill_on_drop: false }`
[INFO] [stdout] 7caff831f2b0a136d3e1247a29ab35dc393a58731c2336c451f0146706f33486
